
from turbogears import validators, widgets
from mnemoply import reports
from mnemoply.utils import IdsValidator

class NewAgreementPrint(reports.RDSReport):
    name = _("Agreement print")
    tag = "NewAgreementPrint"
    report_type = reports.RDSReportType.WORD_MULTIPAGE
    #  report_type = reports.RDSReportType.EXCEL2
    template_module = "mnemoply.templates.reports.agreement_new_print"

    fields = [
        widgets.HiddenField(name="ids", label=_("IDs"), validator=IdsValidator),
    ]

exposed = NewAgreementPrint()